<?php 
class Zend_View_Helper_SetupEditor 
{
	function setupEditor( $textareaId ) 
	{
		return "<script type=\"text/javascript\">
		CKEDITOR.replace( '". $textareaId ."', {
       		filebrowserBrowseUrl : '/javascript/ckfinder/ckfinder.html',
			filebrowserImageBrowseUrl : '/javascript/ckfinder/ckfinder.html?Type=Images',
			filebrowserFlashBrowseUrl : '/javascript/ckfinder/ckfinder.html?Type=Flash',
			filebrowserUploadUrl : '/javascript/ckfinder/core/connector/php/connector.php?command=QuickUpload&type=Files',
			filebrowserImageUploadUrl : '/javascript/ckfinder/core/connector/php/connector.php?command=QuickUpload&type=Images',
			filebrowserFlashUploadUrl : '/javascript/ckfinder/core/connector/php/connector.php?command=QuickUpload&type=Flash'
		} );
		</script>";
	}
}
?>